package com.jy.api.dao;

import com.jy.api.domain.Member;
import com.jy.api.domain.MemberLevel;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created by xioaohua on 2019/4/29.
 */
public interface MemberLevelDao extends CrudRepository<MemberLevel,Integer> {

    List<MemberLevel> findAllByStoreIdAndEnabled(String storeId,boolean enabled);


    MemberLevel findByStoreIdAndAndStartLevel(String storeId,boolean startLevel);










}
